<?php

class test_core extends Toast {

    public function __construct() {
        parent::__construct(__FILE__);
    }

    public function test_dynamic_property() {
        $site = new sites_m_core();
        $should_be_array = $site->DYN_testproperty;
        $this->_assert_true(is_array( $should_be_array));
        
    }

    public function test_user_group_dynamic_property(){
        $user = new user_m_user();
        $user->get_by_id(21);
        $group = $user->DYN_permission_group;
        $this->_assert_equals("1", $group->id);
    }

}

?>